Portlocke, Joseph Ellison, active 1825-1841, Major-General RE