Twenty Eleven: call `get_post_galleries()` correctly now that it has new arguments, and use a more accurate `function_exists` call. Props kovshenin, closes #22907.

git-svn-id: http://core.svn.wordpress.org/trunk@24194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Ten: call `get_post_galleries()` correctly now that it has new arguments, and use a more accurate `function_exists` call. Props kovshenin, closes #23617.

git-svn-id: http://core.svn.wordpress.org/trunk@24195 1a063a9b-81f0-0310-95a4-ce76da25c4cd