unbound methods/classmethods use PyMethodObject in Py3 as well, so include them in method call optimisation