Replace bind2nd with bind.

The former (and ptr_fun, also removed) is deprecated.

Also replace one lambda with bind() in monster::has_spell_of_type.
Don't name an unused parameter.