c++: constantness of call to function pointer [PR111703]