Influence of galaxy stellar mass and observed wavelength on disc breaks in S$^4$G, NIRS0S, and SDSS data