swr/rast: Split backend.cpp to improve compile time