Fixes a fatal error when calling parent::get_post()

Fixes a fatal error encountered when calling the (non-existent) `get_post()` in `WP_JSON_Media::get_post()` when fetching a post with attachments.