r306137 made dllimport pointers to member functions non-constant. This
is correct because a load must be executed to resolve any dllimported
data. However, r306137 did not account for the use of dllimport member
function pointers used as template arguments.
This change piggie-backs almost entirely on Reid's r306137, I just added
the template instantiation fix.
This fixes PR33570.