Check for BuddyPress context in BP_Attachments_Upload->attachment_data()

Checking for bp_attachment post type is now failing as the post type is forced to be attachment by WordPress.

See #8