assert: use feature test for static_cast

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Merge pull request #815 from ceph/wip-static-cast

assert: use feature test for static_cast

Reviewed-by: Sage Weil <sage@inktank.com>