don't die if onRecord is undef

If `onRecord` was not defined, https://metacpan.org/source/TIMBRODY/HTTP-OAI-4.03/lib/HTTP/OAI/UserAgent.pm#L31 died.