Go ahead and finish and install. Being a shelf, it will flatten out when the load is put on it.
Totally agree with this. Do NOT shim. If you do, the shelf will never go flat. 21x21 is big for a shelf, and with a load and only 1/4 off, it will not rock.