Add static assert inside of scope_guard.

This is to catch early errors where the given type is not move constructible.