Always check to see if methods exist after calling define_attribute_methods

Addresses the bug isolated in #12607 where two threads that both dispatch into `method_missing` will result in only one of them successfully calling the newly-created method.

No idea how to test this, especially since the bug only appears in a threaded environment under very specific timing conditions.