First-order transition of the spin-1 Blume–Capel model with random anisotropy using effective-field theory