The onset of nanofluid natural convection inside a porous layer with rough boundaries