Move getFluidSourceType to compat.lua