Fix gcc warning in BSPC

warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Fix a dead assignment in BSPC

Reported by scan-build.