Renormings concerning the lineability of the norm-attaining functionals