Rename maybe_regenerate_attachment_metadata() to wp_maybe_generate_attachment_metadata(), to match wp_generate_attachment_metadata().

fixes #26825.


git-svn-id: https://develop.svn.wordpress.org/trunk@27397 602fd350-edb4-49c9-b593-d223f7449a82