Filter the wp_categories_dropdown function by a specific post type.
A Better Way to Exclude Pages from Search Results
This little snippet allows you to selectively remove a post type (like pages) from the search results, without inadvertently excluding other post types.