Response of a mineral-oil based liquid scintillator to heavily ionizing particles